<template>
  <div class="d2-page-cover">
    <div class="d2-page-cover__logo">
      <a target="blank" href="https://wwww.dianze.com">
        <img src="./image/logo.png" alt="典则读书会" />
      </a>
    </div>
    <p class="d2-page-cover__title">典则读书会管理系统 {{$version}}</p>
    <p class="d2-page-cover__sub-title">为您的事业助力</p>
    <p class="d2-page-cover__build-time">更新时间 {{$buildTime}}</p>
    <slot name="footer"/>
  </div>
</template>

<style lang="scss" scoped>
.d2-page-cover {
  @extend %full;
  @extend %unable-select;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  .d2-page-cover__logo {
    width: 100%;
    a {
      display: block;
      margin: 0 auto;
      width: 150px;
      margin-bottom: 30px;
      img {
        width: 150px;
      }
    }
  }
  .d2-page-cover__title {
    margin: 0px;
    margin-bottom: 20px;
    font-weight: bold;
    color: $color-text-main;
  }
  .d2-page-cover__sub-title {
    margin: 0px;
    margin-bottom: 5px;
    color: $color-text-normal;
  }
  .d2-page-cover__build-time {
    margin: 0px;
    margin-bottom: 10px;
    font-size: 12px;
    color: $color-text-placehoder;
  }
}
</style>
